RayCollision

RayCollision, ray hit information

extern (C) @nogc nothrow
struct RayCollision {}

Members

Variables

distance
float distance;

Distance to nearest hit

hit
bool hit;

Did the ray hit something?

normal
Vector3 normal;

Surface normal of hit

point
Vector3 point;

Point of nearest hit

Meta